import layout from '@/layout/layout.vue'

const selectedContent = () => import('@views/selected-content/index.vue')
const selectedLives = () => import('@views/selected-content/lives.vue')
const selectedCourses = () => import('@views/selected-content/courses.vue')
const selectedMaterials = () => import('@views/selected-content/materials.vue')
const selectedSoftwares = () => import('@views/selected-content/softwares.vue')
const test = () => import('@views/selected-content/test.vue')

const selectedContentRoute  = {
    path : '/selected-content',
    component: layout,
    name:'',
    meta:{
        title: '精选内容',
        needAuth: true,
    },
    children:[
        {
            path: 'list',
            component: selectedContent,
            meta:{
                title:'精选内容',
                needAuth: true,
            }
        },
        {
            path: 'lives',
            component: selectedLives,
            meta:{
                title:'全部直播',
                needAuth: true,
            }
        },
        {
            path: 'courses',
            component: selectedCourses,
            meta:{
                title:'全部课程',
                needAuth: true,
            }
        },
        {
            path: 'materials',
            component: selectedMaterials,
            meta:{
                title:'全部资料',
                needAuth: true,
            }
        },
        {
            path: 'softwares',
            component: selectedSoftwares,
            meta:{
                title:'全部软件',
                needAuth: true,
            }
        },
        {
            path: 'test',
            component: test,
            meta:{
                title:'测试页面',
                needAuth: true,
            }
        },
    ]
    

}
export default selectedContentRoute;